package com.xrtn.mapper;

import com.xrtn.bean.InitGoodsInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface InitGoodsInfoMapper {
    int deleteByPrimaryKey(Integer goodsId);

    int insert(InitGoodsInfo record);

    int insertSelective(InitGoodsInfo record);

    InitGoodsInfo selectByPrimaryKey(Integer goodsId);

    List<InitGoodsInfo> selectAll(@Param("state")Integer state,@Param("goodsName") String goodsName);

    InitGoodsInfo selectByMap(Map<String,Object> params);

    int updateByPrimaryKeySelective(InitGoodsInfo record);

    int updateByPrimaryKey(InitGoodsInfo record);
}